﻿using B.S.DataBase.MyProject.ErrorCode;
using MediatR;

namespace B.S.Traceability.Write.API.Applicantion.Command.GoodsCommand
{
    public class AddGoodsCommand:IRequest<APIResult<int>>
    {
        /// <summary>
        /// 商品名称编号
        /// </summary>
        public int GoodNameId { get; set; }
        /// <summary>
        /// 生产批次号
        /// </summary>
        public string ProductionCode { get; set; }
        /// <summary>
        /// 保质期(天)
        /// </summary>
        public int SellByDay { get; set; }
        /// <summary>
        /// 生产许可证号  
        /// </summary>
        public string ProNumber { get; set; }

        /// <summary>
        /// 生产企业
        /// </summary>
        public string ProductionEnt { get; set; }
        /// <summary>
        /// 商品图片
        /// </summary>
        public string? GoodsPhone { get; set; }
        public string CreateName { get; set; }
        public DateTime CreateTime { get; set; }
    }
}
